#pragma once
#ifndef GL_CLIENT
#define GL_CLIENT
#include "GpInclude.h"
#include "GpMacro.h"
#include "IDXDrawInterface.h"

class LuxSoul
{
public:
	LuxSoul(void);
	~LuxSoul(void);

	bool Initialize(int iWidth,int iHeight,int iBpp,bool bFullScreen = true);
	bool Loop(void);
	bool Rander(void);
	bool Finalize(void);

	DWORD GetCurTime(void);

private:
	bool DrawBitMap(void);
	bool DrawText(void);
	DWORD WaitTime(DWORD dwTime);

private:
	int						m_iWindowWidth;
	int						m_iWindowHeight;
	int						m_iBPP;
	bool					m_bFullScreen;

	BITMAPFILEPTR			m_pkBitMapFile;
	DWORD					m_dwCurTime;
};

extern LuxSoul g_LuxSoul;
#define gTime (g_LuxSoul.GetCurTime())
#endif

